﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;

namespace UHUModel
{
    /// <summary>
    /// 登陆日志信息
    /// </summary>
    public class LoginLog
    {
        [PrimaryKey(Generator = PrimaryKeyType.Identity)]
        public int ID
        {
            get;
            set;
        }

        [Property("LoginName")]
        public string LoginName
        {
            get;
            set;
        }

        [Property("LoginTime")]
        public System.DateTime LoginTime
        {
            get;
            set;
        }

        [Property("Source")]
        public int Source
        {
            get;
            set;
        }

        [Property("IPAddress")]
        public string IPAddress
        {
            get;
            set;
        }

        [Property("BrowserType")]
        public string BrowserType
        {
            get;
            set;
        }
    }
}
